*********************************
*	Author: Rithika Kumar	    *
*   Table A17- DV summary stats * 
*********************************


** Set working directory to "JOP Replication files" folder

use "DATA FILES TO SHARE/data_for_analysis_RK_controls.dta",clear



estpost tabstat mob_govt_ever_index civic_index claim_contact_welfare_index claim_procedure_index    claim_contact_problem ,by(mig_dummy)  c(stat) stat(mean sd min max n) nototal
esttab using "OUTPUT/TABLES/Table_A17.tex", replace ////
cells("mean(fmt(%13.2fc)) sd(fmt(%13.2fc)) min max count") nonumber ////
collabels("Mean" "SD" "Min" "Max" "N") varlabels("0" "NM" "1" "M" "claim_procedure_index" "Manage Paperwork" "claim_contact_welfare_index" "Claim-making (Welfare)" "civic_index" "Civic participation" "mob_govt_ever_index" "Visit Government Institution" "claim_contact_problem" "Contact with state actor")
